package com.flash.BusinessParameters.entity;

public class FundSetting {
        //基金ID
        private String fundId;//基金代码都是6位数的 如：614587
        //基金名称
        private String fundName;//**基金管理有限公司
        //基金类型
        private int fundType;//1是开发式，2是封闭式基金
        //基金规模
        private int fundScale;//开始基金的规模 如100000000份
        //基金托管人
        private String trustee;//什么什么银行
        //基金管理人
        private String custodian;//某某基金管理有限公司
        //基金初期净值
        private double fundNetWorth;//初期是净值是1元
        //托管人费用率
        private double trusteeCostRate;//基金管理人从中抽取多少利益  例如 0.35%
        //管理人费用率
        private double custodianCostRate;//托管行从中抽取多少利益  例如 0.35%
        //创立时间
        private String foundTime;
        private String cashId;//账号ID
        public FundSetting(){

        }

    public FundSetting(String fundId, String fundName, int fundType, int fundScale, String trustee, String custodian, double fundNetWorth, double trusteeCostRate, double custodianCostRate, String foundTime, String cashId) {
        this.fundId = fundId;
        this.fundName = fundName;
        this.fundType = fundType;
        this.fundScale = fundScale;
        this.trustee = trustee;
        this.custodian = custodian;
        this.fundNetWorth = fundNetWorth;
        this.trusteeCostRate = trusteeCostRate;
        this.custodianCostRate = custodianCostRate;
        this.foundTime = foundTime;
        this.cashId = cashId;
    }

    @Override
    public String toString() {
        return "FundSetting{" +
                "fundId='" + fundId + '\'' +
                ", fundName='" + fundName + '\'' +
                ", fundType=" + fundType +
                ", fundScale=" + fundScale +
                ", trustee='" + trustee + '\'' +
                ", custodian='" + custodian + '\'' +
                ", fundNetWorth=" + fundNetWorth +
                ", trusteeCostRate=" + trusteeCostRate +
                ", custodianCostRate=" + custodianCostRate +
                ", foundTime='" + foundTime + '\'' +
                ", cashId='" + cashId + '\'' +
                '}';
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getFundId() {
            return fundId;
        }

        public void setFundId(String fundId) {
            this.fundId = fundId;
        }

        public String getFundName() {
            return fundName;
        }

        public void setFundName(String fundName) {
            this.fundName = fundName;
        }

        public int getFundType() {
            return fundType;
        }

        public void setFundType(int fundType) {
            this.fundType = fundType;
        }

        public int getFundScale() {
            return fundScale;
        }

        public void setFundScale(int fundScale) {
            this.fundScale = fundScale;
        }

        public String getTrustee() {
            return trustee;
        }

        public void setTrustee(String trustee) {
            this.trustee = trustee;
        }

        public String getCustodian() {
            return custodian;
        }

        public void setCustodian(String custodian) {
            this.custodian = custodian;
        }

        public double getFundNetWorth() {
            return fundNetWorth;
        }

        public void setFundNetWorth(double fundNetWorth) {
            this.fundNetWorth = fundNetWorth;
        }

        public double getTrusteeCostRate() {
            return trusteeCostRate;
        }

        public void setTrusteeCostRate(double trusteeCostRate) {
            this.trusteeCostRate = trusteeCostRate;
        }

        public double getCustodianCostRate() {
            return custodianCostRate;
        }

        public void setCustodianCostRate(double custodianCostRate) {
            this.custodianCostRate = custodianCostRate;
        }

        public String getFoundTime() {
            return foundTime;
        }

        public void setFoundTime(String foundTime) {
            this.foundTime = foundTime;
        }


}
